const type = 1  // 0|1|3

function getArticleJSX() {
  if (type === 0) {
    return <div>无图模式模版</div>
  } else if (type === 1) {
    return <div>单图模式模版</div>
  } else if (type === 3) {
    return <div>三图模式模版</div>
  }
}

function App() {
  return (
    <div>
      {getArticleJSX()}
    </div>
  )
}

export default App
